{extend name='main'}

{block name="content"}
<div class="layui-tab layui-tab-card think-bg-white table-block">
    <div class="layui-tab-content think-box-shadow table-block table-block">
        {include file='locklog/index_search'}
        <table class="layui-table margin-top-10" lay-skin="line">
            {notempty name='list'}
            <thead>
            <tr>
                <th class='list-table-check-td think-checkbox'>#</th>
                <th class='text-left nowrap'>开箱用户</th>
                <th class='text-left nowrap'>开箱订单</th>
                <th class='text-left nowrap'>开启箱门</th>
                <th class='text-left nowrap'>开箱内容</th>
                <th class='text-left nowrap'>开箱时间</th>
            </tr>
            </thead>
            {/notempty}
            <tbody>
            {foreach $list as $key=>$vo}
            <tr data-dbclick>
                <td class="nowrap">{$vo.id}</td>
                <td class="nowrap">{$vo.username} ({$vo.user_id})</td>
                <td class="nowrap">{$vo.order|default='/'}</td>
                <td class="nowrap">{$vo.box|default='/'}</td>
                <td class="nowrap">{$vo.content|default='/'}</td>
                <td class="nowrap">{$vo.create_at}</td>
            </tr>
            {/foreach}
            </tbody>
        </table>
        {empty name='list'}<span class="notdata">没有记录哦</span>{else}{$pagehtml|raw|default=''}{/empty}
    </div>
</div>
{/block}
